package org.bitterorange.flansmodslain.models;

import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public class BFMCBukkitKeyInputEvent extends Event {

    private static final HandlerList Handlers = new HandlerList();
    private final EnumBFMCKeyType KeyType;
    private final Player Player;

    public BFMCBukkitKeyInputEvent(EnumBFMCKeyType keyType, Player player) {
        KeyType = keyType;
        Player = player;
    }

    public EnumBFMCKeyType getKeyType() {
        return KeyType;
    }

    public Player getPlayer() {
        return Player;
    }

    public static HandlerList getHandlerList() {
        return Handlers;
    }

    @Override
    public HandlerList getHandlers() {
        return Handlers;
    }
}
